/*
 * @(#) WorkPlanService.java 2013-5-28 下午1:58:47
 *
 * Copyright 2013 Rockwell Automation, Inc. All rights reserved.
 * Rockwell Automation PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */package com.osi.mes.pm;

import java.util.Vector;

import pnuts.lang.Context;

import com.datasweep.compatibility.client.ATRow;
import com.datasweep.compatibility.client.ATRowFilter;
import com.datasweep.compatibility.client.Response;
import com.datasweep.compatibility.pnuts.Functions;
import com.datasweep.compatibility.ui.Time;
import com.osi.mes.base.BaseService;

public class WorkPlanService extends BaseService
{

	public WorkPlanService(Context context)
	{
		super(context);
	}

	public WorkPlanService(Functions functions)
	{
		super(functions);
	}
	
	public Vector<ATRow> getWorkPlans(String productionLineName, String partNumber, Time plannedDate)
	{
		ATRowFilter atRowFilter = getFunctions().createATRowFilter("");
		return super.getATRows(atRowFilter);
	}
	
	public Response saveWorkPlan(ATRow workPlan)
	{
		return super.saveATRow(workPlan);
	}
}
